{% for host in groups['zookeeper'] -%}
{% if  hostvars[host]['ansible_ssh_host'] == ansible_ssh_host %}
{{ hostvars[host]['myid'] }}
{% endif %}
{% endfor %}
